package com.jic.data.mapper;
import java.util.List;
import java.math.BigDecimal;
import com.jic.data.model.entity.CustomerConsumeSts;
import com.jic.data.model.vo.request.CustomerConsumeStsRequest;

public interface CustomerConsumeStsMapper {
	/**
	 * CUSTOMER_CONSUME_STS插入数据
	 * @param customerConsumeSts 入参实体类
	 */
	int insert (CustomerConsumeSts customerConsumeSts);

	/**
	 * CUSTOMER_CONSUME_STS插入数据
	 * @param customerConsumeSts 入参实体类
	 */
	int insertSelective (CustomerConsumeSts customerConsumeSts);

	/**
	 * CUSTOMER_CONSUME_STS根据表对象数据修改数据
	 * @param customerConsumeSts 入参实体类
	 */
	int updateByPrimaryKey (CustomerConsumeSts customerConsumeSts);

	/**
	 * CUSTOMER_CONSUME_STS根据表对象数据修改数据
	 * @param customerConsumeSts 入参实体类
	 */
	int updateByPrimaryKeySelective (CustomerConsumeSts customerConsumeSts);

	/**
	 * CUSTOMER_CONSUME_STS根据id删除数据
	 * @param customerConsumeSts 入参实体类
	 */
	int deleteByPrimaryKey (CustomerConsumeSts customerConsumeSts);

	/**
	 * CUSTOMER_CONSUME_STS根据主键查询数据
	 * @param customerConsumeSts 入参实体类
	 */
	CustomerConsumeSts selectByPrimaryKey (CustomerConsumeSts customerConsumeSts);

	/**
	 * CUSTOMER_CONSUME_STS根据主键查询数据
	 * @param customerConsumeSts 入参实体类
	 */
	List<CustomerConsumeSts> listPageBySelective (CustomerConsumeSts customerConsumeSts);

	/**
	 * CUSTOMER_CONSUME_STS查询数据
	 * @param customerConsumeSts 入参实体类
	 */
	List<CustomerConsumeSts>  selectBySelective (CustomerConsumeSts customerConsumeSts);

    Long secOrderNum(CustomerConsumeStsRequest request);

	Long secProductNum(CustomerConsumeStsRequest request);

    Double secSaleVolume(CustomerConsumeStsRequest request);

	Double secDiscountRate(CustomerConsumeStsRequest request);
}
